/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.ez2find.manager;

import com.ez2find.model.Area;
import com.ez2find.model.Event;
import com.ez2find.model.EventCategorie;
import com.ez2find.model.RegisterUser;
import com.ez2find.model.Site;
import java.util.Date;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author Owner
 */
@Local
public interface EventManagerLocal {

    void create(Event event) throws Exception;

    void delete(Event event) throws Exception;

    Event find(long id);

    long lastCode();

    List<Event> listAll();

    List<Event> listEventsArea(Area area, boolean eventC, EventCategorie eventCategorie, boolean forD, Date date, String consult);

    List<Event> listEventsSite(Site site, boolean eventC, EventCategorie eventCategorie, boolean forD, Date date, String consult);

    void update(Event event) throws Exception;

    Event merge(Event event) throws Exception;
    
}
